#!/bin/bash

num_client=$1
op_client=$2
ip_client=192.168.2.2

for((i=1; i<=$num_client; i++))
do
    iperf3 -c $ip_client -p `expr 5200 + $i` -t 60 -Z -O 10 --logfile iperf3_$i.log $op_client &
done
